package com.ywj.websocket.test1;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: 余文杰
 * @Date: 2023/07/28
 * @Description:
 */
@RestController
@RequestMapping("/")
public class IndexController1 {
    @GetMapping("/")
    public String index(){
        return "Hello,WebSocket!";
    }
}
